
//
//  LCNavigationController.m
//  LC
//
//  Created by admin on 2017/12/26.
//  Copyright © 2016年 LC. All rights reserved.
//

#import "LCNavigationController.h"


@interface  LCNavigationController ()

@end

@implementation LCNavigationController



- (void)viewDidLoad {
    [super viewDidLoad];
}


- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
    if (self.viewControllers.count > 0) {
//        当push的时候,隐藏底部栏.        设置属性必须要写在push操作完成之前
        viewController.hidesBottomBarWhenPushed = YES;
    }
    [super pushViewController:viewController animated:animated];
}



@end
